#ifndef DIALOG_H
#define DIALOG_H

#include <QWidget>
#include<QDialog>
#include<QLabel>
#include<QLineEdit>
#include<QPushButton>

namespace Ui {
class Dialog;
}

class Dialog : public QWidget
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = nullptr);
    ~Dialog();
    void setRows(int rows);
    void setCols(int cols);
    void setKun(int kun);

    int getRows();
    int getCols();
    int getKun();

    QLineEdit*edit_row;
    QLineEdit*edit_col;
    QLineEdit*edit_kun;

    QLabel*lable_row;
    QLabel*lable_col;
    QLabel*lable_kun;
signals:
    void dia_test();
public slots:
    void up_all();
private:
    Ui::Dialog *ui;
    int rows;
    int cols;
    int kun;
    QPushButton*up;
};

#endif // DIALOG_H
